<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="../../res/jquery.min.js"></script>
    <script src="../../src/bs.base.js"></script>
    <script src="../../src/bs.utils.js"></script>
    <script src="../../src/bs.using.js"></script>
    <script src="../../src/whenJs.js"></script>
    <script src="../../src/bs.posfix.js"></script>
</head>
<body>
      <div id="d1" style="border:1px solid #00FF00;">

          <div id="d2" style="border:1px solid #FF0000;right: 10px;">页脚22</div>
      </div>
<script>
    $(document).ready(function(){

        bs.posfix('#d2',{top:5});
    });
</script>
</body>
</html>